package com.fastshopping.order.dao;

import com.fastshopping.order.pojo.Order;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Name: 李袁勇
 * @Date: 2020/6/2 16:35
 * @Version: 1.0
 **/
public interface OrderMapper {
    public Page<Order> findByAll(@Param("id") int id, @Param("receiver_mobile") String receiver_mobile, @Param("delivery") int delivery, @Param("time1")String time1
    ,@Param("time2") String time2,@Param("consign_status") char consign_status);

    public List<Map> findCount();

    public Order findOneOrder(int id);

    public void updateById(int id);

    public void deliverGoods(int id);

    public void takeGoods(int id);

    public void confirmReceipt(int id);
}
